﻿using System;
using eCommerce.Core.Domain.Products;

namespace eCommerce.Core.Domain.Orders
{
    public class OrderItem:BaseEntity
    {
        public virtual int OrderId { get; set; }
        public virtual Order Order { get; set; }


        public virtual int ItemId{ get; set; }
        public virtual Item Item{ get; set; }
        


        public virtual string AttributeDescription { get; set; }


        public virtual int Quantity { get; set; }

        public virtual decimal UnitPrice { get; set; }

        public virtual decimal ItemWeight { get; set; }

        public virtual decimal TotalPrice { get; set; }

    }
}